package com.leon.alishop.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.leon.alishop.model.AttrInfo;

public interface AttrInfoDao {

	public AttrInfo selectById(Integer id);
	
	public List<AttrInfo> selectByIds(Integer[] ids);
	
	public int insertSelective(AttrInfo attrInfo);
	
	public int updateByIdSelective(AttrInfo attrInfo);
	
	public List<AttrInfo> findAllAttrInfo();
	
	public AttrInfo findByNameAndType(@Param("name") String name,@Param("type") Integer type);
	
}
